import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';

import '../../../../main_service.dart';

class HomeIndexController extends GetxController {
  RxInt currentIndex = 0.obs;
  PageController pageController = PageController(initialPage: 0);

  //
  get isDoctor => Get.find<MainService>().isDoctor;
  @override
  void onInit() {
    super.onInit();
  }

  onPageChange(int page){
    currentIndex.value = page;
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }



}
